#define _CRT_SECURE_NO_WARNINGS 1
#include"Qsort.h"
void print(int* a, int n)
{
	for (int i = 0; i < n; i++)
	{
		printf("%d ", a[i]);
	}
	printf("\n");
}
void test(int* a, int n)
{
	BubbleSort(a, n);
	print(a, n);
}
void test1(int* a, int n)
{
	PartSort1(a,0, n-1);
	print(a, n);
}
void test2(int* a, int n)
{
	QuickSort(a, 0, n - 1);
	print(a, n);
}
void test3(int* a, int n)
{
	QuickSortNonR(a, 0, n - 1);
	print(a, n);
}


int main()
{
	int a[8] = { 65,56,72,99,86,25,34,66 };
	test2(a, 8);
}